package com.freesun.shop.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.freesun.shop.entity.Notice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zf
 * @since 2019-11-13
 */
public interface NoticeService extends IService<Notice> {

    IPage<Notice> findByPage(Notice notice, Page<Notice> page);

    List<Notice> getTopList();
}
